package org.sixtythousand.joker.servlet;

import org.sixtythousand.joker.Request;
import org.sixtythousand.joker.Response;
import org.sixtythousand.joker.http.HttpHandler;
import org.sixtythousand.joker.http.AbstractHttpRequest;
import org.sixtythousand.joker.http.HttpRequest;
import org.sixtythousand.joker.http.HttpResponse;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * servlet处理器，负责承接http协议的数据
 * @author zhoulk
 * @date 2023/10/11 17:36
 * @desc
 */
public class ServletHandler extends AbstractServletContainer {

    protected ServletContainer servletContainer;

    @Override
    protected void doHandler(HttpRequest request, HttpResponse response) {
            dispatcher(request, response,(HttpServletRequest) request, (HttpServletResponse) response);
    }

    @Override
    public void stop() {

    }


}
